﻿using System;
using System.Collections.Generic;
using System.Text;
using WeChatSDK.WeChatDto.Conversation.BaseSupport;

namespace BCService.WeChatComponent.WeChatAccessTokenService
{
    /// <summary>
    /// 微信AccessToken服务接口
    /// </summary>
    public interface IWeChatAccessTokenService
    {
        /// <summary>
        /// 更新AccessToken
        /// </summary>
        /// <param name="weChatAccessTokenDto">微信AccessToken信息</param>
        /// <returns></returns>
        WeChatAccessTokenDto Update(WeChatAccessTokenDto weChatAccessTokenDto);
        /// <summary>
        /// 获取AccessToken信息
        /// </summary>
        /// <returns></returns>
        WeChatAccessTokenDto Get();
    }
}
